<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<script type="text/javascript">
	$(document).ready(function() {
		$('nav-list li').bind('click', function() {
			$(this).toggleClass("active");
		});
	})
</script>

<div class="well sidebar-nav">
	<ul class="nav nav-list">
		<li class="nav-header"><a href="${ctx}/">首页</a></li>
		<li class="active"><a href="${ctx}/wb/hotrtt/">热转排行</a></li>
		<li><a href="${ctx}/wb/hotword">热点关系</a></li>
		<li><a href="${ctx}/wb/content/">事态脉络</a></li>
		<li><a href="${ctx}/wb/wbsite/">关注达人</a></li>
		<li class="nav-header"><a href="${ctx}/common/user/">综合演示</a></li>
		<li><a href="${ctx}/story/jms/">JMS演示</a></li>
		<li><a href="${ctx}/story/cache/">Cache演示</a></li>
		<li><a href="${ctx}/story/schedule/">定时任务演示</a></li>
		<li><a href="${ctx}/story/security/">安全演示</a></li>
		<li><a href="${ctx}/story/web/">Web演示</a></li>
		<li><a href="${ctx}/story/webservice/">WebService演示</a></li>
		<li><a href="${ctx}/log/console">日志控制演示</a></li>
		<li><a href="${ctx}/story/jmx/">JMX演示</a></li>
		<li><a href="${ctx}/story/executablewar/">可运行war包演示</a></li>
		<li><a href="${ctx}/story/utilizes/">工具类演示</a></li>
		<shiro:guest>
			<li><a href="${ctx}/login">登录</a></li>
		</shiro:guest>
		<shiro:user>
			<li><a href="${ctx}/logout">退出登录</a></li>
		</shiro:user>
	</ul>
</div><!--/.well -->